<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>My JSP 'newlist.jsp' starting page</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->

  </head>
  	
		
		  <table width="1004" cellspacing="0" cellpadding="0" border="0" bgcolor="#FFFFFF" align="center"> 
   <tbody>
    <tr>
     <td>
      <table width="966" cellspacing="0" cellpadding="0" border="0" align="center">  
       <tbody>
        <tr>    
         <td height="14"></td>  
        </tr>
       </tbody>
      </table>
      <table width="966" cellspacing="0" cellpadding="0" border="0" align="center">  
       <tbody>
        <tr>    
         <td>
          <iframe width="100%" scrolling="no" height="134" frameborder="0" src="head/head.jsp">
          </iframe>
         </td>  
        </tr>
       </tbody>
      </table>
      <table width="966" cellspacing="0" cellpadding="0" border="0" bgcolor="#FFFFFF" align="center">
       <tbody>
        <tr>    
         <td width="13" valign="top">&nbsp;
         </td>  
        </tr>  
        <tr>    
        <td valign="top" align="center">
         <table width="90%" cellspacing="0" cellpadding="0" border="0">      
          <tbody>
           <tr>        
            <td>        
             <div id="gContent" class="GpDetailR">
			 
			 
                 <h6>新闻列表</h6>
			<br>
			<br/>
 		<s:if test="#request.newslist!=null">
					<div id="newslist">	
					<ul>
					<s:iterator value="#request.newslist" var="news">
						<div>
					<li><a target="_blank" href="/projectMonitor/system/getnews.action?pageMessage1=<s:property value="#news.newsid"/>"> 
	     			<strong><s:property value="#news.newstitle"/>&nbsp; &nbsp;</strong><s:property value="#news.author"/></span></a>
					</li>
		 			</div>
		 		</s:iterator>
			</ul>
			<br>
		</div>
		<div>
		<span>第<s:property value="#request.page+1 "/>页，共<s:property value="#request.pageCount +1"/>页</span>
		<a href="/projectMonitor/system/shownews.action?start=0"> 首页</a>
		<s:iterator value="#request.pageCount" var="temp">
		<a href="/projectMonitor/system/shownews.action?start=<s:property value="#temp"/>">  <s:property value="#temp+1"/> </a> &nbsp;
		</s:iterator>
		<a href="/projectMonitor/system/shownews.action?start=<s:property value="#request.pageCount"/>"> 尾页</a>
		</div>
		</s:if>
		
		
			  
             </div>
            </td>      
           </tr>      
           <tr>
            <td>      
             <table width="100%" cellspacing="0" cellpadding="0" border="0" align="center">      
              <tbody>
               <tr>
                <td>&nbsp;</td>
               </tr>      
               <tr>
                <td height="1" bgcolor="#CCCCCC"></td>
               </tr>      
               <tr>
                <td>&nbsp;</td>
               </tr>      
              </tbody>
             </table>      
            </td>
           </tr>      
           <tr>        
            <td valign="bottom" height="50" align="center">
            <a class="more" href="javascript:window.close();">【关闭】</a>
            </td>      
           </tr>    
          </tbody>
         </table>
        </td>  
       </tr>  
      </tbody>
      </table>
      <table width="966" cellspacing="0" cellpadding="0" border="0" align="center">  
       <tbody>
        <tr>    
         <td>
          <iframe width="100%" scrolling="no" height="40" frameborder="0" src="tail/tail.jsp">
          </iframe>
         </td>  
        </tr>
       </tbody>
      </table>
     </td>
    </tr>
   </tbody>
  </table>
  <body>



  </body>
</html>
